package com.one.group.service;

import com.mybatisflex.core.service.IService;
import com.one.group.model.dto.SpChargeStandardsAddDto;
import com.one.group.model.dto.SpChargeStandardsUpdateDto;
import com.one.group.model.entity.SpChargeStandards;
import com.one.group.model.vo.SpChargeStandardsVo;

import java.util.List;

public interface SpChargeStandardsService extends IService<SpChargeStandards> {
    List<SpChargeStandards> findByChargeItemId(Long chargeItemId);

    List<SpChargeStandardsVo> listByQuery(String name, Long tenantId);

    boolean myAdd(SpChargeStandardsAddDto spChargeStandardsAddDto);

    boolean myUpdateById(SpChargeStandardsUpdateDto spChargeStandardsUpdateDto);

    List<SpChargeStandards> queryListBychargeTypeName(String name);
}
